using System;
using System.Collections.Generic;
using System.Text;
using System.Resources;
using System.Reflection;
using Microsoft.BizTalk.Component.Interop;
using Microsoft.BizTalk.TransportProxy.Interop;

namespace Microsoft.Samples.BizTalk.Adapter.Tcp.Send
{
    /// <summary>
    ///     This class implements a send adapter in BizTalk.
    /// </summary>
    /// <author>
    ///     Paul Brown
    /// </author>
    public partial class SendAdapter : IBaseComponent,
                                       IBTTransport,
                                       IPersistPropertyBag,
                                       IBTTransportControl,
                                       IBTBatchTransmitter,
                                       IAdapter
    {
        #region IBTBatchTransmitter Members

        /// <summary>
        ///     This method is called by the messaging engine to get a new batch to transmit messages using
        ///     the send adapter.
        /// </summary>
        public IBTTransmitterBatch GetBatch()
        {
            return (new TransmitterBatch(this));
        }

        #endregion
    }
}
